<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .content{
            margin-left: 20px;
            display: none;
        }
        .content a{
            display: block;
        }
        .active > .content{
            display: block;
        }
    </style>
</head>
<body>
<div style="float:left;width: 20%">
    {{ menu_string|safe }}
</div>
<div style="width: 80%;float: left;">
    {% if 'POST' in action_list %}
    <a href="http://www.baodu.com">添加</a>
    {% endif %}
</div>
</body>
</html>